package com.wanghang89.gmail.http.crawler;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.wanghang89.gmail.http.EncodingConstants;
import com.wanghang89.gmail.http.DownloaderConstants;

@Retention(value=RetentionPolicy.RUNTIME)
@Target(value = { ElementType.METHOD })
public @interface Crawl {
	
	String pageEncoding() default EncodingConstants.AUTO_PARSE;
	
	String parameterEncoding() default EncodingConstants.UTF_8;
	
	boolean hasRequestStatus() default false;
	
	String method() default DownloaderConstants.GET_METHOD;
}
